﻿<%@ Page Language="C#" MasterPageFile="~/admin/AdminTemplate.master" AutoEventWireup="true" CodeFile="ViewDetailContent.aspx.cs" Inherits="admin_ViewDetailContent" Title="ADmin" UICulture="vi" %>

 

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v7.2, Version=7.2.2.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dxwgv" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v7.2, Version=7.2.2.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    
    &nbsp;<asp:Panel ID="Panel2" runat="server" ForeColor="White" GroupingText="Bảng thống kê"
        Height="100%" Width="95%">
        <dxwgv:ASPxGridView ID="ASPxGridView1" runat="server" AutoGenerateColumns="False" KeyFieldName="SessionID" OnCustomUnboundColumnData="ASPxGridView1_CustomUnboundColumnData" Width="100%">
            <Columns>
                <dxwgv:GridViewDataTextColumn Caption="Index" FieldName="SessionID" UnboundType="Integer"
                    VisibleIndex="0">
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="Người tư vấn" FieldName="expert" UnboundType="String" 
                    VisibleIndex="1">
                    <Settings AutoFilterCondition="Contains" FilterMode="DisplayText" />
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="Người được tư vấn" FieldName="member"  UnboundType="String"
                    VisibleIndex="2">
                    <Settings AutoFilterCondition="Contains" FilterMode="DisplayText" />
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="Ti&#234;u đề" FieldName="SessionTitle" UnboundType="String"
                    VisibleIndex="3">
                    <Settings AutoFilterCondition="Contains" />
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataDateColumn Caption="Thời gian" FieldName="SessionTime" UnboundType="DateTime"
                    VisibleIndex="4">
                </dxwgv:GridViewDataDateColumn>
                <dxwgv:GridViewDataHyperLinkColumn Caption="#" FieldName="SessionID" VisibleIndex="5">
                    <PropertiesHyperLinkEdit NavigateUrlFormatString="ViewDetailContent.aspx?sessionid={0}"
                        Text="Xem chi tiết" TextFormatString="Xem chi tiết">
                    </PropertiesHyperLinkEdit>
                    <Settings AllowAutoFilter="False" AllowAutoFilterTextInputTimer="False" />
                </dxwgv:GridViewDataHyperLinkColumn>
                <dxwgv:GridViewCommandColumn VisibleIndex="6">
                    <ClearFilterButton Visible="True">
                    </ClearFilterButton>
                </dxwgv:GridViewCommandColumn>
            </Columns>
            <SettingsPager PageSize="5">
            </SettingsPager>
            <Settings ShowFilterRow="True" />
        </dxwgv:ASPxGridView>
        &nbsp;
    </asp:Panel>
    <br />
    <br />
    <asp:Panel ID="Panel1" runat="server" ForeColor="White" GroupingText="Bảng chi tiết"
        Height="100%" Width="95%">
        <table width="100%">
            <tr>
                <td style="width: 208px; text-align: left; height: 21px;">
                    Mã số :</td>
                <td style="text-align: left; height: 21px;">
                    <asp:Label ID="lbID" runat="server" Text="Label"></asp:Label></td>
                
            </tr>
            <tr>
                <td style="width: 208px; text-align: left">
                    Người tư vấn :</td>
                <td style="text-align: left">
                    <asp:Label ID="lbFromId" runat="server" Text="Label"></asp:Label></td>
              
            </tr>
            <tr>
                <td style="width: 208px; text-align: left">
                    Người được tư vấn:</td>
                <td style="text-align: left">
                    <asp:Label ID="lbtoid" runat="server" Text="Label" EnableViewState="False"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 208px; text-align: left">
                    Tiêu đề :</td>
                <td style="text-align: left">
                    <asp:TextBox ID="txttitle" runat="server" MaxLength="50" ReadOnly="True" Rows="2"
                        TextMode="MultiLine" Width="227px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 208px; text-align: left">
                    Nội Dung:</td>
                <td style="text-align: left">
                    <asp:TextBox ID="txtcontent" runat="server" MaxLength="4000" Rows="5" TextMode="MultiLine"
                        Width="231px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 208px; text-align: left">
                    Thời gian
                </td>
                <td style="text-align: left">
                    <asp:Label ID="lbTime" runat="server" Text="Label"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 208px; text-align: left">
                    Thời gian tư vấn (phút):</td>
                <td style="text-align: left">
                    &nbsp;<asp:Label ID="lbDuration" runat="server" Text="Label"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 208px; text-align: left">
                    Khoản tiền tư vấn :</td>
                <td style="text-align: left">
                    <asp:Label ID="lbPayment" runat="server" Text="Label" EnableViewState="False"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 208px; text-align: left">
                    Hạn chót :</td>
                <td style="text-align: left">
                    <asp:Label ID="DeadLine" runat="server" Text="Label" EnableViewState="False"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 208px; text-align: left">
                    Kiểu tư vấn :</td>
                <td style="text-align: left">
                    <asp:Label ID="lbType" runat="server" Text="Label" Font-Underline="True" EnableViewState="False"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 208px; text-align: left">
                    Khoản tiền QnA kiếm được:</td>
                <td style="text-align: left">
                    <asp:Label ID="lbDiscountpayment" runat="server" Text="Label" EnableViewState="False"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 208px">
                </td>
                <td>
                </td>
                
            </tr>
        </table>
    </asp:Panel>
</asp:Content>

